/**
  * author: HuaZhe Ray
  *
  * describe: TODO
  *
  * createDate: 2017/12/15
  * createTime: 14:21
  *
  */
object A extends App {

  val sites = Map("runoob" -> "http://www.runoob.com",
      "baidu" -> "http://www.baidu.com",
      "taobao" -> "http://www.taobao.com")
  val res = sites - ("runoob")

  sites.foreach(println)
  res.foreach(println)

    sites.keys.foreach{ i =>
      print( "Key = " + i )
      println(" Value = " + sites(i) )}
}
